package cn.ecnu.user.service;

import cn.ecnu.user.vo.*;

public interface UserService {
    UserInfoVo loginWithPassword(PhonePasswordVo vo);

    UserInfoVo loginWithCaptcha(PhoneCaptchaVo vo);

    int registerWithPhone(RegisterWithPhoneVo vo);


    UserInfoVo loginWithAlipay(String userId);

    AdminAllUser getAllUsersPage(Integer pageNum);

    AdminUserVo getUserAdminVoByUid(Integer uid);


    AdminUserVo changeUserRole(ChangeRoleVo vo);

    int deleteUserById(Integer uid);

    AdminAllUser getAllUsers();

    int updateUserById(UserInfoVo vo);
}
